package org.wangchaocheng.cloudgallery.common.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;

/**
 * 继承Spring @Component ,用于标识查询执行器注解
 * @author wangchaocheng
 * @date 2025/03/25
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface QueryExecutor {
    @AliasFor(annotation = Component.class)
    String value() default "";
}
